<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>HH_SYNC command</TITLE>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<BODY>

<h1>HH_SYNC command</h1>

<p>Locates and selects the contents entry for the help topic that is open in the Topic pane of the HTML Help Viewer.</p>

<br>
<table border=1 cellpadding=3 cellspacing=0 width=100%>
<TR VALIGN="top">
<TH><I>pszFile</I></TH>
<TH><I>dwData</I></TH>
</TR>

<TR VALIGN="top">
<TD>
<p>Specifies the name of the window type that you want to sync and the name of the compiled help (.chm) file in which the window type is defined. </p>

<p>The window type name must begin with a greater-than (&gt;) character and must be preceded by the name of the compiled help file in which it is defined.</p>
</TD>

<TD>
Specifies a pointer to a topic within a compiled help file. This value is the topic file to which the contents will synchronize.
</TD>
</TR>
</TABLE>
<BR>

<H2>Example</H2>
<p><pre><code>
<br>HtmlHelp(
<br>         hwndCaller,
<br>         "..\\MyHelpFile.chm>wintype",
<br>         HH_SYNC,
<br>         "MyHelpFile.chm::/html\MyTopic.htm") ;
</pre></code></p>

<H2>Comments</H2>
<ul>
<li>This command requires that you specify a window type.</li>

<li>Calling this command is equivalent to clicking the <b>Locate</b> button on the toolbar of the Help Viewer.</li>
</ul>

<br>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td valign="top"><a href="ov_about_htmlhelp_commands.htm"><img src="home.gif" width=20 height=18 alt="link to overview topic" border="0"></a>
</td>
<td><a href="ov_about_htmlhelp_commands.htm">About commands</A>
</td>
</tr>
<tr>
<td>&nbsp;
</td>
</tr>
</table>

<BR>
<!--start keywords--->

<!--end keywords--->


</BODY>
</HTML>
